package com.tenement.service;

import com.tenement.domain.TenementClient;
import com.tenement.domain.TenementType;
import com.tenement.domain.TenementUser;

import java.util.List;

/**
 * @ClassName : TypeService  //类名
 * @Description : ${description}  //描述
 * @Author : 易嵘  //作者
 * @Date: 2020-06-07 20:35  //时间
 */
public interface TypeService {
    List findAll(TenementClient type, Integer page, Integer limit, String startDate, String endDate,String userId);

    Long overCount(TenementClient type, String startDate, String endDate,String userId);

    int update(TenementType type, TenementUser user, String ip);

    int add(TenementType type, TenementUser user, String ip);

    int deleteById(String s, String id, String ip);

    TenementType findById(String typeId);

    int deleteAll(String[] ids, String userId, String ip);
}
